package com.zhny.project.txt.history.domain;

import com.zhny.framework.aspectj.lang.annotation.Excel;
import com.zhny.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.util.Date;

/**
 * TXT处理记录对象 txt_history
 *
 * @author yanqun
 * @date 2019-12-11
 */
public class TxtHistory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 数据处理记录主键 */
    private String historyKey;

    //添加4元素

    private  String englishName;

    private  String tableId;

    private  String datasetName;

    private  String surfaceName;

    private  String userName;

    /** 数据集主键 */
    @Excel(name = "数据集主键")
    private String datasetKey;

    /** 采集指标主键 */
    @Excel(name = "采集指标主键")
    private String indexcollectKey;

    /** 数据处理类型 */
    @Excel(name = "数据处理类型")
    private String disposeType;

    /** 处理时间 */
    @Excel(name = "处理时间")
    private Date disposeTime;

    /** 处理人 */
    @Excel(name = "处理人")
    private String historyBy;

    /** 删除标志 0-未删除 1-删除 */
    private Integer deleteFlag;

    public void setHistoryKey(String historyKey)
    {
        this.historyKey = historyKey;
    }

    public String getHistoryKey()
    {
        return historyKey;
    }
    public void setDatasetKey(String datasetKey)
    {
        this.datasetKey = datasetKey;
    }

    public String getEnglishName() {
        return englishName;
    }

    public void setEnglishName(String englishName) {
        this.englishName = englishName;
    }

    public String getTableId() {
        return tableId;
    }

    public void setTableId(String tableId) {
        this.tableId = tableId;
    }

    public String getDatasetName() {
        return datasetName;
    }

    public void setDatasetName(String datasetName) {
        this.datasetName = datasetName;
    }

    public String getSurfaceName() {
        return surfaceName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setSurfaceName(String surfaceName) {
        this.surfaceName = surfaceName;
    }

    public String getDatasetKey()
    {
        return datasetKey;
    }
    public void setIndexcollectKey(String indexcollectKey)
    {
        this.indexcollectKey = indexcollectKey;
    }

    public String getIndexcollectKey()
    {
        return indexcollectKey;
    }
    public void setDisposeType(String disposeType)
    {
        this.disposeType = disposeType;
    }

    public String getDisposeType()
    {
        return disposeType;
    }
    public void setDisposeTime(Date disposeTime)
    {
        this.disposeTime = disposeTime;
    }

    public Date getDisposeTime()
    {
        return disposeTime;
    }
    public void setHistoryBy(String historyBy)
    {
        this.historyBy = historyBy;
    }

    public String getHistoryBy()
    {
        return historyBy;
    }
    public void setDeleteFlag(Integer deleteFlag)
    {
        this.deleteFlag = deleteFlag;
    }

    public Integer getDeleteFlag()
    {
        return deleteFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("historyKey", getHistoryKey())
            .append("datasetKey", getDatasetKey())
            .append("indexcollectKey", getIndexcollectKey())
            .append("disposeType", getDisposeType())
            .append("disposeTime", getDisposeTime())
            .append("historyBy", getHistoryBy())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deleteFlag", getDeleteFlag())
            .toString();
    }
}
